import json
# dic= {"name":"汪峰","age":18,"wife":"章子怡"} #字典转为前端字符
# print(dic)
#
# json_str = json.dumps(dic,ensure_ascii=False)
# print(json_str)
# print(type(json_str))

# s = '{"name":"汪峰","age":18,"wife":"章子怡"}' #字符转为字典
# d  = json.loads(s)
# print(d)

